<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2018/11/29
 * Time: 10:28
 */

namespace app\api\controller;


use app\lib\exception\ParameterException;
use think\Controller;

class BaseController extends Controller
{
    public function _empty()
    {
        throw new ParameterException([
           'code' => 404,
           'msg' => '页面不存在'
        ]);
    }
}